package com.whut.service;

import com.whut.model.ContractTaskProject;
import com.whut.model.Equipinfo;
import com.whut.model.Contractinfo;

import java.util.List;

public interface InfoManageService {
    public Object getProjectInfoByPage(int pageNum,int pageSize);
    public Object getProjectInfoBySearchParams(String searchParams,int pageNum,int pageSize);
    public Object getProjectInfoBySearchParams2(String searchParams);
    public String deleteProjectInfoById(int projectId);
    public Object getContractClient();
    public Object getClientByContractId(int contractId);
    public String addProjectInfo(ContractTaskProject info);
    public String updateProjectInfo(ContractTaskProject info);
    public String importExcel(String filePath);
    public String importExcel2(String filePath);
    public Object getEquipInfo(int projectId);
    public String finishZhouqi(int taskId,String finishTime);

    //wyh
    /*通过合同id获取项目信息*/
    public Object getProjectInfobyContractId(int contractId);
    public Object saveEquip(Equipinfo equipinfo);

    public boolean editContractInfo(Contractinfo ci);

    Object getDataByContractId(Integer contractId, int pageNum, int pageSize);

    Object getJsUnitByContractId(List<Integer> contractId);

    Object getGsUnitByContractId(List<Integer> list);

    Object getJlUnitByContractId(List<Integer> list);

    Object getTaskByContractIds(List<Integer> list);

    Object getProjectBYTasKIdAndContractId(List<Integer> contractList, List<Integer> taskList);

    Object getProjectsByParams(List<Integer> contracts, List<String> jsUnits, List<String> sgUnits, List<String> jlUnits, List<Integer> tasks, List<Integer> projects, int pageNum);
}
